home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000114-20000217
/
000261_news@columbia.edu _Wed Feb 16 15:10:20 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA03202
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 16 Feb 2000 15:10:20 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA13409
for kermit.misc@watsun.cc.columbia.edu; Mon, 14 Feb 2000 19:51:32 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Message-ID: <38A8A0E1.F3D0118B@flash.net>
From: LAIX Software Consulting <laixsoft@flash.net>
Organization: LAIX Software Consulting
Subject: Re: AIX 4.x UUCP lockfile directory?
Date: Tue, 15 Feb 2000 00:45:47 GMT
To: kermit.misc@columbia.edu
I believe installing the fileset bos.compat.links creates symbolic links for
locations where files used to be in AIX 3.x to where they are located in
4.x. I suspect it may include a link from /etc/locks to /var/spool/locks.
Best regards,
Paul
Frank da Cruz wrote:
> In AIX, the preferred method for an application to obtain a lock on a
> dialout device is with the (AIX-specific) ttylock() API. This is
> supposed to shield the application from having to know the details about
> the lockfile location, name, and contents. But of course, we still have
> the same old silly scheme underneath.
>
> A user who recently installed C-Kermit 7.0, which uses ttylock() in the
> politically correct manner, complains it can't obtain a dialout device:
> "access to lock directory denied", even though Kermit's owner, group,
> and permissions are the same as cu; even when Kermit is run as root.
> (And no, they never tried to run cu.)
>
> It seems there is no /etc/locks on this computer. My questions are:
>
> . What is the lockfile directory used by ttylock() on AIX 4.x?
> It seems to be /etc/locks, but on the AIX systems I've seen, that's
> symlink to /var/locks.
>
> . Are all AIX 4.x's supposed to have /etc/locks? Is it supposed to
> be a symlink? Is this symlink installed by default or do sysadmins
> have to put it there?
>
> . If the real lockfile directory is /var/locks, why does ttylock()
> use /etc/locks?
>
> . Are there differences among AIX 4.1, 4.2, and 4.3?
>
> - Frank